package com.suneee.cloud.group.service;

import java.util.List;
import java.util.Map;

import com.suneee.cloud.group.entity.DePartMentEntity;
import com.suneee.cloud.group.entity.ShopAdminEntity;
import com.suneee.context.page.Page;

public interface DePartMentService {
	/**
	 * 分页 查询账户组信息
	 * @param departEntity
	 * @return
	 */
	public Page<DePartMentEntity> queryDepartMentInfoPage(DePartMentEntity departEntity);
	
	/**
	 * 新增账户组信息
	 * @param departEntity
	 * @return
	 */
	public void insertDePartMentInfo(DePartMentEntity mentEntity);
	
	/**
	 * 新增绑定用户跟店铺信息
	 * @param departEntity
	 * @return
	 */
	public void insertadminRoleInfo(String shopId,List<ShopAdminEntity> checkList);
	
	/**
	 * 修改账户组信息
	 * @param departEntity
	 * @return
	 */
	public void updateDePartMentInfo(DePartMentEntity departEntity);
	
	/**
	 * 删除账户组信息
	 * @param departEntity
	 * @return
	 */
	public void deleteDePartMentInfo(DePartMentEntity departEntity);
	
	/**
	 * 查询账号组名称列表集合
	 * @return
	 */
	public List<DePartMentEntity> queryDePartMentList();
	
	/**
	 * 获取所有有效的账号组列表-用于下拉
	 * @return
	 */
	public List<Map<String,Object>> getDeptNameList(String deptCode);
	
	/**
	 * 获取某一个账号组下未被授权的成员集合
	 * @return
	 */
	public List<Map<String,Object>> getDeptUnPermssion(String deptCode,String name,String shopId);
	
	/**
	 * 获取某一个账号组下已授权的成员集合
	 * @return
	 */
	public List<Map<String,Object>> getDeptPermssion(String deptCode,String name,String shopId);
}
